package ishaportalserver.apps.insight.repository;


import ishaportalserver.shared.apps.Response;
import ishaportalserver.shared.apps.insight.CenterProp;

import java.util.List;

interface IRepository {
	//members
	List<MemberEntity> getMatches(CenterEntity c, String searchStr);	
	MemberEntity saveMember(MemberEntity m);	
	MemberEntity getMember(long memberId);
	
	//centers
	Response addCenter(String name);
	Response renameCenter(long id, String newName);
	List<CenterProp> getAllCenters();
	Response deleteCenter(long id);
	CenterProp getCenter(long id);
}
